package com.mathlearning.auth.dto;

import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UpdateUserProfileRequest {
    @Size(min = 2, max = 20, message = "用户名长度必须在2-20个字符之间")
    private String nickname;

    private Integer gender;

    private String birthday;

    @Size(max = 200, message = "个人介绍不能超过200字符")
    private String bio;

    @Size(max = 50, message = "学校名称不能超过50字符")
    private String school;

    @Size(max = 20, message = "年级不能超过20字符")
    private String grade;
}








